/*
与后台交互模块 （依赖已封装的ajax函数）
 */
import ajax from './ajax'
const BASE_URL = '/api'
const WS_URL = '/websocket'

// api
export const reqLogList = function ({parms}) {
  return ajax(BASE_URL + '/list', parms, 'POST')
}

export const reqReadFile = function ({parms}) {
  return ajax(BASE_URL + '/readFile', parms, 'POST')
}
